package com.tkmybatis.config.redis;


public enum RedisKeys {
	
	REDIS_CMTDICT_KEY("REDIS_CMTDICT_KEY", 600),
	REDIS_CMTDICTS_KEY("REDIS_CMTDICTS_KEY", 600),
	REDIS_ORGRESOURCE_KEY("REDIS_ORGRESOURCE_KEY", 3600),
	REDIS_SPECIALTY_NAME_KEY("REDIS_SPECIALTY_NAME_KEY", 3600),
	REDIS_SPECIALTY_LIST_KEY("REDIS_SPECIALTY_LIST_KEY", 3600),
	REDIS_EPTSPECIALTY_LISTTREE_KEY("REDIS_EPTSPECIALTY_LISTTREE_KEY", 3600),
	REDIS_SPECIALTY_KEY("REDIS_SPECIALTY_KEY", 3600),
	REDIS_ORGANINFO_LIST_KEY("REDIS_ORGANINFO_LIST_KEY", 3600),
	REDIS_ORGANINFO_LISTTREE_KEY("REDIS_ORGANINFO_LISTTREE_KEY", 3600),
	REDIS_ORGANINFO_KEY("REDIS_ORGANINFO_KEY", 600),
	REDIS_SMAP_ORGAN_INFO_ES_SHEN_PI("REDIS_SMAP_ORGAN_INFO_ES_SHEN_PI", 600),
	REDIS_SMAP_ORGAN_INFO_ES_NAME("REDIS_SMAP_ORGAN_INFO_ES_NAME", 600),
	REDIS_APPKEY_APPSECRET_KEY("APPKEY_APPSECRET_KEY", 3600);
	
	/**
	 * 缓存key
	 */
	private String key;
	/**
	 * 缓存时间（秒）
	 */
	private Integer second;
	
	RedisKeys(String key,  Integer second) {
		this.key = key;
		this.second = second;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public Integer getSecond() {
		return second;
	}

	public void setSecond(Integer second) {
		this.second = second;
	}
	
	
}
